function encode_utf8_b64(string) {
  return window.btoa(unescape(encodeURIComponent(string)));
}
function decode_utf8_b64(string) {
  return window.btoa(escape(decodeURIComponent(string)));
}

export { encode_utf8_b64, decode_utf8_b64 };
